@import './modules/bass.scss';
@import './modules/header.scss';
@import './modules/footer.scss';
.contain{
    z-index: 10;
    width: 100%;
    // height: 44px;
    // border:1px solid;
    float: left;
    &-wrap{
        width: 1264px;
        margin: 0 auto;
        table{
            width: 90%;
            border-collapse: collapse;

            thead{
               
                tr{
                    color:#666;
                    height: 54px;
                    // padding-left: 80px;
                    font-size: 14px;
                    border-bottom: 1px solid #dddddd;
                     #allcheck{
                        color:paleturquoise;
                        display: block;
                        position: absolute;
                        top:40px;
                        left:20px;
                     }
                }
            }
            tbody{
                tr{
                    padding-left: 20px;
                    border-bottom: 1px solid #dddddd;
                    height: 135px;
                    td{
                        padding-left: 24px;
                        box-sizing: border-box;
                        &.checked{
                            // display: block;
                            margin-left: 40px;
                        }
                       
                        a{
                            display: block;
                            float: left;
                            border: 1px solid #dddddd;
                            width: 74px;
                            height: 77px;
                            margin-left: 30px;
                            margin-right: 15px;
                            img{
                                width: 100%;
                                height: 100%;
                            }
                        }
                        h4{
                            font-size: 16px;
                            color:#666;
                            margin-bottom: 10px;
                        }
                        h5{
                            font-size: 14px;
                            color:#666;
                        }
                        div{
                            width: 80px;
                            height: 24px;
                            margin-left: 10px;
                            border: 1px solid #e0e0e0;
                            display: flex;
                            justify-content: space-between;
                            span{
                             
                                width: 23px;
                                height: 24px;
                                text-align: center;
                                cursor: pointer;
                                // border: 1px solid;
                                color:#666;
                                font-weight: 600;
                                &:hover{
                                    background-color: #f0f0f0;
                                }
                            }
                            input{
                                width: 32px;
                                height: 20px;
                                text-align: center;
                            }
                        }
                        &.del{
                            padding-left: 68px;
                            box-sizing: border-box;
                        & span{
                            width: 20px;
                            height: 20px;
                            line-height: 17px;
                            // border: 1px solid;
                            text-align: center;
                            display: block;
                            
                            color:#a9a9a9;
                            // padding-left: 50px;
                            cursor: pointer;
                            &:hover{
                                // border: 1px solid;
                                border-radius: 50%;
                                background-color: red;
                                color:white;
                            }
                        }
                    }
                    }
                    .price{
                        color:red;
                        font-size: 20px;
                        padding-left: 50px;
                    }
                    .total-price{
                        color:red;
                        font-size: 20px;
                        padding-left: 50px;
                    }
                
                }
            }
        }
                
    }
}
.payoff{
    width: 100%;
    &-wrap{
        width: 1264px;
        height: 94px;
        // border: 1px solid;
        margin: 0 auto;
        float: left;
        p{
            float: left;
            font-size: 14px;
            color:$color;
            margin: {
                top:39px;
                left:787px;
            }
            >span{
                color:red;
                font-size: 28px;
                padding: 0 10px;
            }
            i{
                color:red;
            }
        }
        a{
            display: block;
            text-decoration: none;
            color:white;
            background-color: #e32332;
            width: 188px;
            height: 50px;
            line-height: 50px;
            text-align: center;
            border: 1px solid;
            float: right;
            font-size: 20px;
            margin: {
                right:30px;
                top:20px;
            }
            &:hover{
                background-color: #C00;
            }
        }
    }
}
.empty-cart{
    width: 100%;
    // border:1px solid ;
    float: left;
    display: none;
    .wrap{
        width: 1264px;
        height: 300px;
        margin: 0 auto;
        background: url('/images/base.png') no-repeat 400px center;
        height: 300px;
        line-height: 330px;
        margin-bottom: 40px;
        font-size: 18px;
        background-color: #FFF;
        color: #666;
        text-align: center;
        a{
            
                color: #e90404;
            
        }
        
    }
}
//表单美化
.check-label{
   
    position: relative;
    input{
        
       opacity: 0;
      &:checked+span{
          display: inline;
          background: #e32332;
          .check-item{
              display: inline;
          }
      }
    }
    .check-span{
        z-index: -1;
        position: absolute;
        width: 18px;
        height: 18px;
        top:0;
        left:-4px;
        border: 1px solid #d4d4d4;
        // background: #e32332;
        // display: none;
        .check-item{
            z-index:0;
            width: 9px;
            height: 6px;
            border-left: 1px solid white;
            border-bottom: 1px solid white;
            transform: rotateZ(-40deg);
            position: absolute;
            display: none;
            top:3px;
            left:4px;
        }
    }
}

// .allcheck-label{
//     position: relative;
    
//     // z-index: 0;
//     input{
//        opacity: 0;
//       &:checked+span{
//           display: inline;
//           background: #e32332;
//           .check-item{
//               display: inline;
//           }
//       }
//     }
//     .check-span{
//         z-index: -1;
//         position: absolute;
//         width: 18px;
//         height: 18px;
//         top:0;
//         left:-4px;
//         border: 1px solid #d4d4d4;
//         // background: #e32332;
//         // display: none;
//         .check-item{
//             z-index:0;
//             width: 9px;
//             height: 6px;
//             border-left: 1px solid white;
//             border-bottom: 1px solid white;
//             transform: rotateZ(-40deg);
//             position: absolute;
//             display: none;
//             top:3px;
//             left:4px;
//         }
//     }
// }


